package com.sun.hunk.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 *
 * @author sunil
 */
public class Validation {

    public static boolean isEmailAddress(String email) {
        Pattern p = Pattern.compile("[a-zA-Z]*[0-9]*@[a-zA-Z]*.[a-zA-Z]*");
        Matcher m = p.matcher(email);
        boolean b = m.matches();
        return b;
    }
}
